<template>
  <div class="editGift">
    <div class="title">
      <navTitle :navArr="navArr"></navTitle>
    </div>
    <div class="content">
      <shopCar></shopCar>
    </div>
  </div>
</template>
<script type="text/ecmascript-6">
import NavTitle from '../../base/navTitle/index'
import ShopCar from '../../base/shopCar/index'
export default {
  name: 'editGift',
  components: {
    NavTitle,
    ShopCar
  },
  data () {
    return {
    }
  },
  computed: {
    navArr () {
      let arr = ['添加礼品包']
      if ('fixed' in this.$route.query) {
        arr = ['修改礼品包']
      }
      return arr
    }
  }
}
</script>
<style lang="stylus" rel="stylesheet/stylus" scoped>
.editGift
  display flex
  flex-direction column
  height 100%
  overflow hidden
  .content
    flex 1
    overflow hidden
</style>
